package org.xiong.disk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.xiong.disk.bean.DownloadRecord;

import java.util.List;

@Mapper
public interface DownloadRecordMapper {

    int insertRecord(DownloadRecord downloadRecord);

    List<DownloadRecord> getDownRecordByPhone(@Param("phone") String phone);

}
